package vip.xiaonuo.facedoor.modular.memberuser.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import lombok.Data;


@Data
@ApiModel(value = "内部人员查询返回参数")
public class MemberUserPageVO implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 用户名
     */
    @Excel(name = "用户名*", width = 20)
    @ApiModelProperty(value = "用户名")
    private String name;


    /**
     * 组织id
     */
    @Excel(name = "用户组", width = 20)
    @ApiModelProperty(hidden = true)
    private String orgName;

    @Excel(name = "用户组编码*", width = 20)
    @ApiModelProperty(hidden = true)
    private String orgCode;


    @ApiModelProperty(hidden = true)
    private Long orgId;
    /**
     * 性别
     */
    @Excel(name = "性别", replace = {"男_1", "女_2"}, width = 20)
    @ApiModelProperty(value = "性别")
    private Integer sex;

    /**
     * 通行权限
     */
    @Excel(name = "人员类别", replace = {"白名单_0", "黑名单_2", "管理员_3", "重点人员_4"}, width = 20)
    @ApiModelProperty(hidden = true)
    private Integer personType;
    /**
     * 手机号
     */
    @Excel(name = "手机号", width = 20)
    @ApiModelProperty(value = "手机号")
    private String tel;

    /**
     * 人脸比对照片
     */
    @Excel(name = "人脸比对照片", width = 20, type = 2, height = 30)
    @ApiModelProperty(value = "人脸比对照片")
    private String photo;

    /**
     * 工号
     */
    @Excel(name = "工号*", width = 20)
    @ApiModelProperty(value = "工号")
    private String jobNum;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号", width = 20)
    @ApiModelProperty(value = "身份证号")
    private String idCard;

    /**
     * IC卡号
     */
    @Excel(name = "IC卡号", width = 20)
    @ApiModelProperty(value = "IC卡号")
    private String icCard;

    /**
     * 人脸特征值
     */
    @ApiModelProperty(hidden = true)
    private String properValue;

    @ApiModelProperty(hidden = true)
    private Integer readCardStatus;

    @Excel(name = "职位名称", width = 20)
    @ApiModelProperty(hidden = true)
    private String posName;

    @Excel(name = "职位编码", width = 20)
    @ApiModelProperty(hidden = true)
    private String posCode;

    @ApiModelProperty(hidden = true)
    private Long posId;

    // 0 是 1 否
    @ApiModelProperty(hidden = true)
    private Integer miniAppAdmin;
    /**
     * 设备代码
     */
    @ApiModelProperty(hidden = true)
    private Integer wGFacilityCode;

    @Excel(name = "三方字段", width = 20)
    @ApiModelProperty(value = "三方字段")
    private String otherSysFiled;
}
